<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <title></title>
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
    <link href="css/mui.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="css/header.css"/>
</head>

<body>
<header class="mui-bar mui-bar-nav title">
    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"
       style="color: #C8C7CC;"></a>
    <a id="openMenu" href="#sheet" class=" mui-pull-right"
       style="color: #C8C7CC;"></a>
    <h1 class="mui-title title-color">头像</h1>
</header>
<div class="mui-content" style="text-align:center">
    <img id="img_myface" src="" style="margin: 0 auto;"/>
</div>

<script src="js/app.js"></script>
<script src="js/mui.js"></script>
<script type="text/javascript">
    mui.init();
    mui.plusReady(function () {
        //获取传递的信息
        var source = plus.webview.currentWebview();
        var img_src = source.img_src;
        console.log(JSON.stringify(img_src));
        //修改大图地址
        var img_myface = document.getElementById("img_myface");
        img_myface.src = app.imgServerUrl+img_src;
    });
</script>
</body>

</html>
